//
//  SDSelectDiseaseView.h
//  SuperDoctor
//
//  Created by 李忠 on 7/8/16.
//  Copyright © 2016 SD. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,SDFakeButtonType){
    SDFakeButtondefault = 0,
    SDFakeButtonSelected = 1
};
//设置隐藏的SDFateButton显示
typedef void(^HiddenFateBlock)(BOOL hidden);

//用于创建科室界面中选中
@interface SDFakeButton : UIView

@property (nonatomic, copy) HiddenFateBlock hiddenFateBlock;

//初始化
- (instancetype)initWithType:(SDFakeButtonType)type;

//设置提示标签的文字
- (void)setNoticeTitle:(NSString *)title withColor:(UIColor *)color;
//设置提示文本的颜色
- (void)setNoticColor:(UIColor *)color;

//设置SDFakeButtonSelected样式的按钮的title 的文字
- (void)setFirstTitle:(NSString *)firstTitle withSecondTitle:(NSString *)secondTItle forState:(UIControlState)state;
//设置SDFakeButtonSelected样式的普通图片和选中图片
- (void)setNorImage:(UIImage *)norImage withSelectedImage:(UIImage *)selectedImage;

//设置SDFakeButtonSelected 文字颜色
- (void)setSwitchBtnTitleColor:(UIColor *)color forState:(UIControlState)state;

//设置图片
- (void)setImage:(UIImage *)image;
- (void)setSelectImage:(UIImage *)image;

//设置选中的按钮
- (void)setDefaultButton:(BOOL)flag;

//添加点击方法
- (void)addTarget:(id)target action:(SEL)action;




@end
